package cn.lyjuan.pojoutils.cst;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * Created by ly on 2015/12/3.
 */
public class BaseCst
{
    /**
     * 版本号
     */
    public static final String VERSION = "V4.0";

    /**
     * 创建的说明信息
     */
    public static final String CREATE_INFO = "Created By pojoutils-" + VERSION + " " + new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date());

    /**
     * 默认无效的数字类型的数值，当为该值时，SQL条件不包含该字段
     */
    public static final String DEF_NUMBER_INVALID_VAL = "-123";

    /**
     * 名称占位符
     */
    public static final String RP_NAME = "{name}";

    /**
     * po默认名称后缀
     */
    public static final String SUF_POJO = "Pojo";

    /**
     * mapper默认名称后缀
     */
    public static final String SUF_MAPPER = "Mapper";
}
